package api.apiservice.apiopenplat;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import springfox.documentation.oas.annotations.EnableOpenApi;
@MapperScan(basePackages = {"api.apiservice.apiopenplat.mapper"})
@SpringBootApplication
@ServletComponentScan
@EnableOpenApi
@EnableDiscoveryClient
@EnableDubbo(scanBasePackages = {"api.apiservice.apiopenplat.service"})
public class ApiOpenPlatApplication {

    public static void main(String[] args) {
        SpringApplication.run(ApiOpenPlatApplication.class, args);
    }

}
